package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.MonthlySectorData;

public interface MonthlySectorDataService {

	MonthlySectorData findById(int id);

	void saveMonthlySectorData(MonthlySectorData module);

	void deleteMonthlySectorData(int id);

	List<MonthlySectorData> findMonthlySectorData(int id);

	List<MonthlySectorData> searchMonthlySectorData(int sectorId,
			Date fromDate, Date toDate, String orderBy, String orderByName);

	Page<MonthlySectorData> searchMonthlySectorData(int sectorId,
			Date fromDate, Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteMonthlySectorData(int sectorId, Date fromDate, Date toDate);
}
